*******************************************************************
*Replication code for
*	Article: How COVID-19 affects voting for incumbents: evidence from local elections in France
*	Journal: PlosOne
*	Authors: Davide Morisi, Héloïse Cloléry, Guillaume Kon Kam King, and Max Schaub
*******************************************************************

cd "[your working directory]"

*** Paths
global pathdo "do_files"
global pathdata "data"
global pathtables "tables"
global pathfigures "figures"


*** Data cleaning, in 2 steps
* 1) This do-file cleans the main dataset
do "$pathdo\plosone_main_dataset.do"
* 2) This do-file modifies the main dataset into a final dataset used for analysis
do "$pathdo\plosone_recoding_main_dataset.do"

*** Estimations
* These do-files create all tables and figures for the paper
do "$pathdo\2plosone_analysis.do"
do "$pathdo\2plosone_analysis_parallel.do"

